<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<TITLE>HH_LAST_ERROR structure</TITLE>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<BODY>

<H1>HH_LAST_ERROR structure</H1>

<p>This structure returns the last HtmlHelp() error code and description.</p>

<h2>Used by</h2>
<ul>
<li><a href="cmd_hh_get_last_error.htm">HH_GET_LAST_ERROR</a></li>
</ul>

<h2>HH_LAST_ERROR structure syntax</h2>
<p><PRE><code>
typedef struct tagHH_LAST_ERROR
<br>{
<br>     int      cbStruct ;
<br>     HRESULT  hr ;            
<br>     BSTR     description ;      
<br>} HH_LAST_ERROR ;
</p></PRE></code>

<br>
<table border=1 cellpadding=3 cellspacing=0 width=100%>
<TR>
<TH><b>Member</b>
</TH>
<TH><b>Description</b>
</TH>
</TR>

<TR>
<TD><i>cbStruct</i>
</TD>
<TD>Specifies the size of the structure. This value must always be filled in before passing the structure to HtmlHelp(). 
</TD>
</TR>

<TR>
<TD><i>hr</i>
</TD>
<TD>Specifies the last error code.
</TD>
</TR>


<TR>
<TD><i>description</i>
</TD>
<TD>Specifies a Unicode string containing a description of the error.
</TD>
</TR>
</TABLE>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ov_about_htmlhelp_structures.htm"><img src="home.gif" width=20 height=18 alt="link to overview topic" border="0"></a>
</td>
<td><a href="ov_about_htmlhelp_structures.htm">About structures</A>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
</tr>
</table>


<br>


</BODY>
</HTML>
